package com.tuo51.childcare.domain.ptest;

import com.tuo51.foudation.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 趣味测试类型
 */

@Entity
@Table(name = "user_ptest_category")
@EqualsAndHashCode(callSuper = true)
@Data
public class PTestItemCategory extends Domain {

    @Column(columnDefinition = "varchar(32) COMMENT '趣味测试分类名字'")
    private String title;

    @Column(columnDefinition = "int(10) COMMENT '月龄'")
    private Integer month;

    @Column(columnDefinition = "int(10) COMMENT '日龄'")
    private Integer day;

    @Column(columnDefinition = "int(10) COMMENT '类型编码'")
    private Integer code;

    @Column(columnDefinition = "varchar(255) COMMENT '介绍'")
    private String description;

    @Column(columnDefinition = "varchar(255) COMMENT '标签'")
    private String tags;

    @Column(columnDefinition = "varchar(1024) COMMENT '封面'")
    private String images;
}
